package com.jack.design_patterns.structural.decorator.schoolgrade_demo;

/**
 * 四年级成绩单
 */
public class FourthGradeSchoolReport extends SchoolReport {

    /**
     * 我的成绩单
     */
    @Override
    public void report() {
        System.out.println("尊敬的家长xxx:");
        System.out.println("xxxxxxxxxxxx");
        System.out.println("各科成绩如下:语文65,数学65,英语68,体育90...");
        System.out.println("xxxxxxxxxxxx");
    }

    /**
     * 家长签名
     * @param parentName
     */
    @Override
    public void sign(String parentName) {
        System.out.println("家长签字: " + parentName);
    }

}
